import html from './reply.html'
import '../mycomponents/header.js'
import footer from '../mycomponents/footer.js'

export default {
  template: html,
  components: {
    'myFooter': footer
  },
  data: function () {
    return {
      detail: {}
    }
  },
  computed: {
    commentLength: function () {
      return this.detail.comment ? this.detail.comment.length : 0
    }
  },
  afterEnter: function (param) {
    this.detail = param.detail
  }
}
